var fs = require('fs'),
  url = require('url');

exports.goIndex = function(res) {
  var readPath = VIEW + url.parse('index.html').pathname;
  var indexPage = fs.readFileSync(readPath);
  res.writeHead(200, { 'Content-Type': 'text/html' });
  res.write(indexPage);
  res.end();
};
